﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Entity
{
    public class Worker
    {
        private DayOfWeek start = DayOfWeek.Monday.;
        private DayOfWeek end = DayOfWeek.Friday;
        public String name { get; private set; }
        public String surname { get; private set; }
        public List<Entity.Day> days { get; private set; }

        public Worker(String name, string surname)
        {
            this.name = name;
            this.surname = surname;
        }

        private void init()
        {
            days = new List<Day>();
            days.Add(new Day(DayOfWeek.Monday.ToString()));
            days.Add(new Day(DayOfWeek.Tuesday.ToString()));
            days.Add(new Day(DayOfWeek.Wednesday.ToString()));
            days.Add(new Day(DayOfWeek.Thursday.ToString()));
            days.Add(new Day(DayOfWeek.Friday.ToString()));
        }
    }
}
